{% extends "elements/table_list.html" %} {% load i18n %} {% load markup %} {% load introspection %} {% block table_headers %} {{ block.super }} {% block table_filterbox %} {% for h in table.headers %} {% join '_' table.uid 'filter_by' h.attname as filter_by_key %} {% join '_' table.uid 'filter_expr' h.attname as filter_expr_key %} {% block table_field_filter %} {% if h.type == "boolean" %} {% elif h.type == "foreignkey" %} {% else %} {% if h.type == "datetime" %} {% else %} {% endif %} {% endif %} {% endblock %} {% endfor %} {% endblock %} {% endblock %} {% block table_first_column %} {% if forloop.counter0 == 0 %} {{ f }} {% else %} {{ block.super }} {% endif %} {% endblock %} {% block table_field_actions %} {% endblock %} {% block table_footer %} {% if row_count %} {% blocktrans with row_count=table.rows|length total_count=paginator.count %}All ({{ row_count }} of {{ total_count }} items){% endblocktrans %} {% if field_count > 1 %} {% endif %} {% block table_list_actions %} {% endblock %} {% else %} {{ block.super }} {% endif %} {% endblock %}